package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.pojo.PageResult;
import com.itheima.pojo.Student;
import com.itheima.pojo.StudentCount;
import com.itheima.pojo.StudentQueryParam;

import java.util.List;
import java.util.Map;

public interface StudentService extends IService<Student> {

    PageResult<Student> pageStudent(StudentQueryParam student);

    void saveStudent(Student student);

    Student getStudent(Integer id);

    void updateStudent(Student student);

    void deleteS(List<Integer> ids);

    void addScore(Integer id, Integer score);

    StudentCount countStu();

    List<Map<String,Object>> countDegree();
}
